package br.com.harley.torneio.util;

public final class Constantes {

	public static interface LABELS {
		public static final String LABEL_LOGIN = "label.campo.login";
		public static final String LABEL_NOME = "label.campo.nome";
		public static final String LABEL_APELIDO = "label.campo.apelido";
		public static final String LABEL_CPF = "label.campo.cpf";
		public static final String LABEL_EMAIL = "label.campo.email";
		public static final String LABEL_SENHA = "label.campo.senha";
		public static final String LABEL_CONFIRMACAO = "label.campo.confirmacao";
		public static final String LABEL_JOGADOR = "label.entidade.jogador";
		public static final String LABEL_USUARIO = "label.entidade.usuario";
		public static final String LABEL_TORNEIO = "label.entidade.torneio";
		public static final String LABEL_PERIODO_DE_INSCRICOES = "label.periodo.inscricoes";
		public static final String LABEL_DATA_INICIO_INSCRICOES = "label.data.inicio.inscricoes";
		public static final String LABEL_DATA_FIM_INSCRICOES = "label.data.fim.inscricoes";
	}

	public static interface TAMANHOS {
		public static final int TAM_MIN_LOGIN = 2;
		public static final int TAM_MAX_LOGIN = 16;
		public static final int TAM_MIN_APELIDO = 2;
		public static final int TAM_MAX_APELIDO = 80;
		public static final int TAM_MAX_NOME = 160;
		public static final int TAM_MIN_SENHA = 6;
		public static final int TAM_MAX_SENHA = 16;
		public static final int TAM_CPF = 11;
		public static final int TAM_MAX_EMAIL = 255;
	}

	public static interface SENHA {
		public static final String ALGORITMO_CRIPTOGRAFIA = "algoritmo.criptografia.senha";
	}

	// PRIVATE //

	/**
	 * The caller references the constants using <tt>Consts.EMPTY_STRING</tt>,
	 * and so on. Thus, the caller should be prevented from constructing objects
	 * of this class, by declaring this private constructor.
	 */
	private Constantes() {
		// this prevents even the native class from
		// calling this ctor as well :
		throw new AssertionError();
	}
}
